package com.gopay.common.order.dao;

import com.gopay.common.base.dao.BaseReadDAO;
import com.gopay.common.domain.cps.CpsBatchPayTask;
import com.gopay.common.exception.GopayException;

/**
 * 批量任务Dao接口类
 * 
 * @CpsBatchTaskDAO.java
 * @author fanghw
 * @2013-1-8 上午11:09:49 www.gopay.com.cn Inc.All rights reserved.
 */
public interface CpsBatchPayTaskQueryDAO extends BaseReadDAO<CpsBatchPayTask, Long> {

    /**
     * 根据批次号和账户查找批量任务
     * 
     * @param batchNum
     *            批次号
     * @param acctId
     *            账号
     * @return
     */
    CpsBatchPayTask findPayTask(String batchNum, String acctId) throws GopayException;
}
